﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Infrastructure;
using DormMS.Model;
using DormMS.Model.SearchModels;
using DormMS.Model.ViewModels;

namespace DormMS.IService
{
    public interface IExchangeService
    {
        ProductExchange FindProductExchange(int id);
        List<ProductExchange> ExchangeManage(ExchangeSearchModel search, out int total);

        Result DelExchange(int Id, int currentUserId);

        Result ChangeDisplay(int Id, int currentUserId);

        ProductExchangeResponse ExchangeEdit(int Id);

        Result ExchangeEditSubmit(ProductExchangeResponse ExchangeModel, int currentUserId);

        List<ProductExchange> GetProductExchange(int Skip, int Take, out int total);

        ProductExchangeDetailResponse ProductExchangeDetail(int Id, int currentMemberId);

        List<MemberLevel> GetMemberLevels();
    }
}
